package com.yun2.bms.dao;

import com.yun2.bms.model.Book;
import com.yun2.bms.model.Category;
import com.yun2.bms.model.Lend;

import java.util.List;

/**
 * author: youli
 * qq: 27855162@qq.com
 * date: 2020/5/18
 * 图书接口
 */

public interface IBookDao {

    List<Book> getAll();

    int add(Book book);

    int edit(Book book);

    int delete(String ids);

    List<Book> getAllByBookName(String bookName);

    Book get(int bookId);
}
